package com.hopu.oa.dao.task;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.oa.entity.task.AoaTaskLogger;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Secret
 * @create 2021-07-17 上午 09:16
 */
@Mapper
@Repository
public interface TaskloggedDao extends BaseMapper<AoaTaskLogger> {
    @Select("select * from aoa_task_logger where task_id=#{taskId}")
    List<AoaTaskLogger> getLoggerById(int taskId);
}

